import {request} from '@/utils/request'
export function getDictList(code) {
    return request({
        url: '/api/fizz-manager/blade-system/dict/dictionary?code='+code,
        method: 'get',
    })
}
export function getMenuTreeList(params) {
    return request({
        url: '/api/fizz-manager/blade-system/menu/lazy-menu-list',
        method: 'get',
        params
    })
}
export function getApiScopeList(params) {
    return request({
        url: '/api/fizz-manager/blade-system/api-scope/list',
        method: 'get',
        params
    })
}
export function saveApiScopeData(data) {
    return request({
        url: '/api/fizz-manager/blade-system/api-scope/submit',
        method: 'post',
        data
    })
}
// 删除
export function delApiScope(ids) {
    return request({
        url: 'api/fizz-manager/blade-system/api-scope/remove?ids='+ids,
        method: 'post',
    })
}
